package com.cat.orm.core.db.repository.dao;

import com.cat.orm.core.base.Clip;
import com.cat.orm.core.task.Task;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 数据处理任务
 * @author Jeremy Feng
 * @date 2024/8/25 23:05
 */
public class DataTask<T> extends Clip<T> {

    /**
     * 实体主键
     */
    private Object uniqueId;

    private Map<String, Task> tasks = new LinkedHashMap<String, Task>();

    public DataTask(){
    }

    public Object getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(Object uniqueId) {
        this.uniqueId = uniqueId;
    }

    public Map<String, Task> getTasks() {
        return this.tasks;
    }

}
